<?php
namespace app\common\exception;
use app\common\exception\BaseException;

/**
* 已经接受请求，但未处理完成异常类(中断接口时抛出)
*/
class ResException extends BaseException
{
	protected $code 		= 400;
	protected $message 	    = '请求数据异常';
	protected $errorCode 	= 3000000;
	/**
	 *  $errorCode => $message
	 */
	protected $info 		= [
		3000000 => '数据异常',
		3000001 => "第三方请求方法不支持",
		3000002 => "host无效",
		3000003 => "url无效"
	];
}